package com.fili.core.svn.components;

import javax.swing.tree.DefaultMutableTreeNode;

/**
 * Created by Claudiu-Florin FILIMON
 * Date: Oct 20, 2006
 * Time: 11:48:35 AM
 * Revision: 0
 */
public class CheckNode extends DefaultMutableTreeNode
{
    public static final int CHECK_NONE = 0;
    public static final int CHECK_GREEN = 1;
    public static final int CHECK_BLUE = 2;
    public static final int CHECK_RED = 3;
    public static final int CHECK_WAIT = 4;


    private int type;


    public int getType()
    {
        return type;
    }

    public void setType(int type)
    {
        this.type = type;
    }


    public CheckNode(Object userObject)
    {
        this(userObject, CHECK_NONE);
    }

    public CheckNode(Object userObject, int type)
    {
        super(userObject);
        this.type = type;
    }
}
